// pages/wiki/[slug].js
import { useRouter } from 'next/router';
import HexoBlogPage from './component/HexoBlogPage';

const HexoSlugPage = () => {
  const router = useRouter();
  const { slug } = router.query;
  console.log(slug)
  return <HexoBlogPage pagePath={`/${Array.isArray(slug) ? slug.join('/') : slug}`} />;
};

export default HexoSlugPage;